import request from '@/utils/request'

/**
 * 发送短信
 */
export function sendSmsApi(phone){
 return request({
   url: '/front/sms/send/recruit/'+phone,
   method: 'post'
 })
}



/**
 * 验证手机验证码是否正确
 */
export function validate(data){
  var dataValue={}
  dataValue.code=data.code
  dataValue.loginName= data.loginName
  dataValue.uuid = data.uuid

 return request({
   url: '/front/sms/recruit/validate',
   method: 'post',
   data: dataValue
 })
}
